package com.dimples.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value="com-dimples-system-entity-Userconnection")
@Data
@TableName(value = "t_userconnection")
public class SysUserconnection {
    @TableId(value = "userId", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private String userid;

    @TableField(value = "providerId")
    @ApiModelProperty(value="")
    private String providerid;

    @TableField(value = "providerUserId")
    @ApiModelProperty(value="")
    private String provideruserid;

    @TableField(value = "`rank`")
    @ApiModelProperty(value="")
    private Integer rank;

    @TableField(value = "displayName")
    @ApiModelProperty(value="")
    private String displayname;

    @TableField(value = "profileUrl")
    @ApiModelProperty(value="")
    private String profileurl;

    @TableField(value = "imageUrl")
    @ApiModelProperty(value="")
    private String imageurl;

    @TableField(value = "accessToken")
    @ApiModelProperty(value="")
    private String accesstoken;

    @TableField(value = "secret")
    @ApiModelProperty(value="")
    private String secret;

    @TableField(value = "refreshToken")
    @ApiModelProperty(value="")
    private String refreshtoken;

    @TableField(value = "expireTime")
    @ApiModelProperty(value="")
    private Long expiretime;
}